package com.feeyo.monitor.mapper;

import com.feeyo.monitor.domain.VehicleEvent;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 事件类dao
 * @Author <a href="mailto:bliulei@variflight.com">liulei</a>
 * @Description Created by liulei on 2017/5/18 下午5:42.
 */
@Mapper
public interface VehicleEventMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VehicleEvent record);

    int insertSelective(VehicleEvent record);

    VehicleEvent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(VehicleEvent record);

    int updateByPrimaryKey(VehicleEvent record);

    int updateDeleteStatus(Integer eventId);

    List<Map> selectByPage(Map param);
}